package exception;

import model.enums.ExceptionCode;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/25 9:41
 */

public class BusinessException extends RuntimeException{
    public BusinessException(String message){
        super(message);
    }

    public BusinessException(ExceptionCode exceptionCode){
        super(exceptionCode.getMessage());
    }

}
